home *** CD-ROM | disk | FTP | other *** search
/ The Scorpion King Cardz / The Scorpion King Cardz - Disc 4 - Memnon.iso / pc / assets / intro.dxr / Internal_1_startmovie.ls < prev    next >
Encoding:
Text File  |  2002-03-21  |  710 b   |  32 lines

  1. on prepareMovie
  2.   castLib("images").preloadMode = 1
  3.   castLib("sharedimg").preloadMode = 1
  4. end
  5.  
  6. on startMovie
  7.   global gProjWinName, gMaxVolLevel, preloadFlag
  8.   dosSetFrontWindow(gProjWinName)
  9.   sound(1).stop()
  10.   sound(2).stop()
  11.   sound(3).stop()
  12.   sound(4).stop()
  13.   sound(5).stop()
  14.   sound(6).stop()
  15.   sound(7).stop()
  16.   sound(8).stop()
  17.   if the platform contains "mac" then
  18.     tval = "mac"
  19.   else
  20.     tval = "win"
  21.   end if
  22.   castLib("vid").fileName = the moviePath & "vid" & tval
  23.   startTimer()
  24.   gMaxVolLevel = 175
  25.   preloadFlag = 0
  26.   sound(1).volume = 0
  27.   sound(1).queue([#member: member("speakers_on"), #preloadTime: 1000])
  28.   set the keyDownScript to "theKeyDown"
  29.   the timeOutList = []
  30.   go("check")
  31. end
  32.